﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ACompany.OrderProcessing.Infrastructure
{
    public class BrokenRule
    {
        private readonly string _relatesToProperty;
        private readonly string _rule;

        public BrokenRule(string relatesToProperty, string rule)
        {
            _relatesToProperty = relatesToProperty;
            _rule = rule;
        }

        public string Rule
        {
            get { return _rule; }
        }

        public string RelatesToProperty
        {
            get { return _relatesToProperty; }
        }

    }
}
